DB17-wjdDB17-w
DB17-j
DB17-d
DB17
DB17
DB17, DB17-jwd
DB17-wjd (TTIC)DB17-w
DB17-j
DB17-d
rviz
DB17-lc Duckiebot configurations
ssh-keygen
rqt_console
roslaunch
rviz
rostopic
catkin_make
rosrun
rostest
rospack
rosparam
rosdep
roswtf
rosbag
roscore
pkg_name
duckieteam
duckietown
duckietown_msgs
easy_algo
easy_logs
easy_nodeeasy_node API
easy_node: the user’s point of view
easy_regression
what_the_duck
DB17-wjd (TTIC)Andrea F. Daniele
Once you have received the parts and soldered the necessary components, it is time to assemble them in a Duckiebot. Here, we provide the assembly instructions for the configuration DB17-wjd (TTIC only).
Duckiebot DB17-wjd parts. The acquisition process is explained in Unit C-2 - Acquiring the parts for the Duckiebot DB17-wjd.
Having soldered the DB17-wjd parts. The soldering process is explained in Unit C-3 - Soldering boards for DB17.
Having prepared the power cable. The power cable preparation is explained in Unit C-4 - Preparing the power cable for DB17. Note: Not necessary if you intend to build a DB17-l configuration.
Time: about 30 minutes.
An assembled Duckiebot in configuration DB17-wjd.
The FAQ section at the bottom of this page may already answer some of you comments, questions or doubts.
This section is comprised of 14 parts. Each part builds upon some of the previous parts, so make sure to follow them in the following order.
DB17-wDB17-jDB17-dOpen the Magician Chassis package (Figure 5.1) and take out the following components:
Figure 6.1 shows the components needed to complete this part of the tutorial.
The following video shows how to attach the motors to the bottom plate of the chassis.
Pass the motor holders through the openings in the bottom plate of the chassis as shown in Figure 6.3.
Put the motors between the holders as shown in Figure 6.4.
Orient the motors so that their wires are inwards (i.e., towards the center of the plate).
Use 4 M3x30 screws and 4 M3 nuts to secure the motors to the motor holders. Tighten the screws to secure the holders to the bottom plate of the chassis as shown in Figure 6.5.
Figure 6.6 shows how the motors should be attached to the bottom plate of the chassis.
From the Magician Chassis package take the following components:
Figure 6.7 shows the components needed to complete this part of the tutorial.
The following video shows how to attach the wheels to the motors.
Figure 6.9 shows how the wheels should be attached to the motors.
The Duckiebot is driven by controlling the wheels attached to the DC motors. Still, it requires a passive support on the back. In this configuration an omni-directional wheel is attached to the bottom plate of the chassis to provide such support.
From the Magician Chassis package take the following components:
Figure 6.10 shows the components needed to complete this part of the tutorial.
The following video shows how to attach the omni-directional wheel to the bottom plate of the chassis.
Secure the long spacers to the plate using 2 M3x6 screws and the omni-directional wheel to the spacers using also 2 M3x6 screws as shown in Figure 6.12.
Figure 6.13 shows how the omni-directional wheel should be attached to the plate.
From the Magician Chassis package take the following components:
From the Duckiebot kit take the following components:
Figure 6.14 shows the components needed to complete this part of the tutorial.
The following video shows how to attach the standoffs to the bottom plate of the chassis.
Secure the long metal spacers to the bottom plate using 4 M3x6 screws as shown in Figure 6.16.
Attach the 4 nylon standoffs on top of the metal ones.
Figure 6.17 shows how the standoffs should be attached to the plate.
From the Magician Chassis package take the following components:
From the Duckiebot kit take the following components:
If you have camera cables of different lengths available, keep in mind that both are going to work. We suggest to use the longer one, and wrap the extra length under the Raspberry Pi stack.
Figure 6.18 shows the components needed to complete this part of the tutorial.
The following video shows how to secure the camera to the top plate of the chassis.
If you do not have the 300mm Camera cable you can jump to Step 3.
If you do have the long camera cable, the first thing to do is removing the shorter cable that comes attached to the camera module. Make sure to slide up the black connectors of the camera port on the camera module in order to unblock the cable.
Connect the camera cable to the camera module as shown in Figure 6.20.
Attach the camera module to the camera mount as shown in Figure 6.21.
The camera is just press-fitted to the camera mount, no screws/nuts are needed.
Secure the camera mount to the top plate by using the 2 M3x10 flathead screws and the nuts as shown in Figure 6.22.
Figure 6.23 shows how the camera should be attached to the plate.
From the Duckiebot kit take the following components:
Figure 6.24 shows the components needed to complete this part of the tutorial.
The following video shows how to install the heat sinks on the Raspberry Pi 3.
Remove the protection layer from the heat sinks.
Install the big heat sink on the big “Broadcom”-labeled integrated circuit (IC).
Install the small heat sink on the small “SMSC”-labeled integrated circuit (IC).
Figure 6.26 shows how the heat sinks should be installed on the Raspberry Pi 3.
From the Magician Chassis package take the following components:
From the Duckiebot kit take the following components:
Figure 6.27 shows the components needed to complete this part of the tutorial.
The following video shows how to mount the Raspberry Pi 3 on the top plate of the chassis.
Mount 8 M2.5x12 nylon standoffs on the Raspberry Pi 3 as shown in Figure 6.29.
Use the M2.5 nylon hex nuts to secure the Raspberry Pi 3 to the top plate as shown in Figure 6.30.
Figure 6.31 shows how the Raspberry Pi 3 should be mounted on the top plate of the chassis.
From the Magician Chassis package take the following components:
Figure 6.32 shows the components needed to complete this part of the tutorial.
The following video shows how to secure the top plate on top of the bottom plate.
Pass the motor wires through the openings in the top plate.
Use 4 M3x6 screws to secure the top plate to the nylon standoffs (mounted on the bottom plate in Section 6.4 - Chassis standoffs) as shown in Figure 6.34.
Figure 6.35 shows how the top plate should be mounted on the bottom plate.
The power cable preparation is explained in Unit C-4 - Preparing the power cable for DB17.
From the Duckiebot kit take the following components:
DB17) (1x)Figure 6.36 shows the components needed to complete this part of the tutorial.
The following video shows how to connect the DC Stepper Motor HAT to the Raspberry Pi 3.
Connect the wires of the USB power cable to the terminal block on the DC Stepper Motor HAT labeled as
“5-12V Motor Power” as shown in Figure 6.38.
The black wire goes to the negative terminal block (labeled with a minus: -) and the red wire goes to the
positive terminal block (labeled with a plus: +).
Pass the free end of the camera cable through the opening in the DC Stepper Motor HAT as shown in Figure 6.39.
Connect the free end of the camera cable to the CAMERA port on the Raspberry Pi 3 as shown in Figure 6.40.
To do so, you will need to gently pull up on the black connector (it will slide up) to allow the cable to insert the port. Slide the connector back down to lock the cable in place, making sure it “clicks”.
Make sure the camera cable is inserted in the right direction! The metal pins of the cable must be in contact with the metal terminals in the camera port of the PI. Please be aware that different camera cables have the text on different sides and with different orientation, do not use it as a landmark.
Attach the DC Stepper Motor HAT to the GPIO header on the Raspberry Pi 3. Make sure that the GPIO stacking header of the Motor HAT is carefully aligned with the underlying GPIO pins before applying pressure.
In case you are using a short camera cable, ensure that the camera cable does not stand between the GPIO pins and the the GPIO header socket before applying pressure.
Secure the DC Stepper Motor HAT using 4 M2.5x10 nylon screws.
If you are planning on upgrading your Duckiebot to the configuration DB17-l, you can use 4 M2.5x12
nylon standoffs instead.
Connect the motor wires to the terminal block on the DC Stepper Motor HAT as shown in Figure 6.41.
While looking at the Duckiebot from the back, identify the wires for left and right motor. Connect the left motor wires to the terminals labeled as M1 and the right motor wires to the terminals labeled as M2. This will ensure that the pre-existing software that we will later install on the Duckiebot will send the commands to the correct motors.
Figure 6.42 shows how the DC Stepper Motor HAT should be connected to the Raspberry Pi 3.
From the Duckiebot kit take the following components:
Figure 6.43 shows the components needed to complete this part of the tutorial.
The following video shows how to add the battery to the Duckiebot and turn it on.
Pass the zip tie through the opening in the top plate.
Slide the battery between the two plates. Make sure it is above the zip tie.
Push the free end of the zip tie through the opening in the top plate.
Tighten the zip tie to secure the battery.
Connect the short micro USB cable to the Raspberry Pi 3.
Connect the short micro USB cable to the battery.
Connect the USB power cable to the battery.
Make sure that the LEDs on the Raspberry Pi 3 and the DC Stepper Motor HAT are on.
Figure 6.45 shows how the battery should be installed on the Duckiebot.
DB17-wThis upgrade equips the Duckiebot with a secondary, faster, Wi-Fi connection, ideal for image streaming.
The new configuration is called DB17-w.
Figure 6.46 shows the components needed to complete this upgrade.
DB17-jThis upgrade equips the Duckiebot with manual remote control capabilities. It is particularly
useful for getting the Duckiebot out of tight spots or letting younger ones have a drive, in
addition to providing handy shortcuts to different functions in development phase.
The new configuration is called DB17-j.
Figure 6.48 shows the components needed to complete this upgrade.
The joystick comes with a USB receiver (as shown in Figure 6.48).
HOME button. Make sure that the LED above the SELECT button is steady.explain how to test the joystick with jstest
DB17-dThis upgrade equips the Duckiebot with an external hard drive that is convenient for storing
videos (logs) as it provides both extra capacity and faster data transfer rates than the microSD
card in the Raspberry Pi 3. Moreover, it is easy to unplug it from the Duckiebot at the end of the
day and bring it over to a computer for downloading and analyzing stored data.
The new configuration is called DB17-d.
Figure 6.50 shows the components needed to complete this upgrade.
If we have the bumpers, at what point should we add them?
You shouldn’t have the bumpers at this point. The function of the bumpers is to keep the LEDs in place, i.e., they belong to DB17-l configuration. These instructions cover the DB17-wjd configurations. You will find the bumper assembly instructions in Unit E-3 - Assembling the Duckiebot DB17-wjdlc.
Yeah but I still have the bumpers and am reading this page. So?
The bumpers can be added after the Duckiebot assembly is complete.
I found it hard to mount the camera (the holes weren’t lining up).
Sometimes in life you have to push a little to make things happen. (But don’t push too much or things will break!)
The long camera cable is a bit annoying - I folded it and shoved it in between two hats.
The shorter cable is even more annoying. We suggest wrapping the long camera cable between the chassis and the Raspberry Pi. With some strategic planning, you can use the zipties that keep the battery in place to hold the camera cable in place as well (see figure below-to add)
add pretty cable handling pic
I found that the screwdriver that comes with the chassis kit is too fat to screw in the wires on the hat.
It is possible you got one of the fatter screwdrivers. You will need to figure it out yourself (or ask a TA for help).
I need something to cut the end of the zip tie with.
Scissors typically work out for these kind of jobs (and no, they’re not provided in a Fall 2017 Duckiebox).